Class PEMKey
- java.lang.Object
-
- net.schmizz.sshj.userauth.keyprovider.PEMKey
-
public class PEMKey extends java.lang.Object
PEM Key container with identified Key Type and decoded body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PEMKey.PEMKeyType
-
Field Summary
Fields Modifier and Type Field Description private byte[]
body
private java.util.List<java.lang.String>
headers
private PEMKey.PEMKeyType
pemKeyType
-
Constructor Summary
Constructors Constructor Description PEMKey(PEMKey.PEMKeyType pemKeyType, java.util.List<java.lang.String> headers, byte[] body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) byte[]
getBody()
(package private) java.util.List<java.lang.String>
getHeaders()
(package private) PEMKey.PEMKeyType
getPemKeyType()
-
-
-
Field Detail
-
pemKeyType
private final PEMKey.PEMKeyType pemKeyType
-
headers
private final java.util.List<java.lang.String> headers
-
body
private final byte[] body
-
-
Constructor Detail
-
PEMKey
PEMKey(PEMKey.PEMKeyType pemKeyType, java.util.List<java.lang.String> headers, byte[] body)
-
-
Method Detail
-
getPemKeyType
PEMKey.PEMKeyType getPemKeyType()
-
getHeaders
java.util.List<java.lang.String> getHeaders()
-
getBody
byte[] getBody()
-
-