Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.skype.util
Class PemReader

    java.lang.Object
      com.skype.util.PemReader

    public class PemReader

extends java.lang.Object

Minimal utilities for reading and decoding PEM certificate files

Author:
  kcjones

Constructor Summary
`PemReader(java.io.InputStream cert, java.io.InputStream key)`
`PemReader(java.lang.String pemFilePath)`

Method Summary
`java.security.cert.X509Certificate` | `getCertificate()`
`java.security.PrivateKey` | `getKey()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PemReader

    public PemReader(java.io.InputStream cert,
                     java.io.InputStream key)

### PemReader

    public PemReader(java.lang.String pemFilePath)
              throws java.io.FileNotFoundException

Throws:
  `java.io.FileNotFoundException`

Method Detail

### getCertificate

    public java.security.cert.X509Certificate getCertificate()
                                                      throws java.io.IOException,
                                                             java.security.spec.InvalidKeySpecException

  Throws:
    `java.io.IOException`
    `java.security.spec.InvalidKeySpecException`

### getKey

    public java.security.PrivateKey getKey()
                                    throws java.io.IOException

  Throws:
    `java.io.IOException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010, 2011 Skype Technologies. All Rights Reserved.