PublicKey
PrivateKey
| Modifier and Type | Method and Description |
|---|---|
| public default KeyPair | Returns: A cloned pair (ornull if no original pair)The kp)KeyPair to be cloned - ignored if null
|
| public PRV | Returns: The cloned key (ornull if no original key)The key)PrivateKey to clone - ignored if null
|
| public PUB | Returns: The cloned key (ornull if no original key)The key)PublicKey to clone - ignored if null
|
| public static BigInteger | |
| public static int | |
| public static int | |
| public static int | |
| public static String | |
| public static String | |
| public static String | |
| public static Map. | |
| public static Map. | |
| public static Map. | |
| public static Map. | Returns: The decoded string + the offset of the next byte after itThe buffer with the data bytes buf, int The offset in the buffer to decode the string offset, int The max. available data starting from the offset available, Charset The cs, int Charset to use to decode the stringMax. allowed characters in string - if more than that is encoded then an
maxChars)IndexOutOfBoundsException will be thrownDecodes a run-length encoded string |
| public static int | |
| public static byte[] | |
| public static int | |
| public static int | |
| public static int | |
| public default KeyPair | |
| public KeyFactory | |
| public KeyPairGenerator | |
| public static byte[] | |
| public static Map. | |
| public static Map. | Returns: The decoded data buffer + the offset of the next byte after itThe buffer with the data bytes buf, int The offset in the buffer to decode the array offset, int The max. available data starting from the offset available, int Max. allowed data in decoded buffer - if more than that is encoded then an
maxAllowed)IndexOutOfBoundsException will be thrownDecodes a run-length encoded byte array |
| public static int | |
| public static int |
| cloneKeyPair | back to summary |
|---|---|
public default KeyPair cloneKeyPair(KeyPair kp) throws GeneralSecurityException
| |
| clonePrivateKey | back to summary |
|---|---|
public PRV clonePrivateKey(PRV key) throws GeneralSecurityException
| |
| clonePublicKey | back to summary |
|---|---|
public PUB clonePublicKey(PUB key) throws GeneralSecurityException
| |
| decodeBigInt | back to summary |
|---|---|
| public static BigInteger decodeBigInt(InputStream s) throws IOException | |
| decodeInt | back to summary |
|---|---|
| public static int decodeInt(InputStream s) throws IOException | |
| decodeInt | back to summary |
|---|---|
| public static int decodeInt(byte[] buf) | |
| decodeInt | back to summary |
|---|---|
| public static int decodeInt(byte[] buf, int offset, int available) | |
| decodeString | back to summary |
|---|---|
| public static String decodeString(InputStream s, int maxChars) throws IOException | |
| decodeString | back to summary |
|---|---|
| public static String decodeString(InputStream s, String charset, int maxChars) throws IOException | |
| decodeString | back to summary |
|---|---|
| public static String decodeString(InputStream s, Charset cs, int maxChars) throws IOException | |
| decodeString | back to summary |
|---|---|
| public static Map. | |
| decodeString | back to summary |
|---|---|
| public static Map. | |
| decodeString | back to summary |
|---|---|
| public static Map. | |
| decodeString | back to summary |
|---|---|
| public static Map. Decodes a run-length encoded string
| |
| encodeBigInt | back to summary |
|---|---|
| public static int encodeBigInt(OutputStream s, BigInteger v) throws IOException | |
| encodeInt | back to summary |
|---|---|
| public static byte[] encodeInt(OutputStream s, int v) throws IOException | |
| encodeString | back to summary |
|---|---|
| public static int encodeString(OutputStream s, String v) throws IOException | |
| encodeString | back to summary |
|---|---|
| public static int encodeString(OutputStream s, String v, String charset) throws IOException | |
| encodeString | back to summary |
|---|---|
| public static int encodeString(OutputStream s, String v, Charset cs) throws IOException | |
| generateKeyPair | back to summary |
|---|---|
public default KeyPair generateKeyPair(int keySize) throws GeneralSecurityException
| |
| getKeyFactoryInstance | back to summary |
|---|---|
public KeyFactory getKeyFactoryInstance() throws GeneralSecurityException
| |
| getKeyPairGenerator | back to summary |
|---|---|
public KeyPairGenerator getKeyPairGenerator() throws GeneralSecurityException
| |
| readRLEBytes | back to summary |
|---|---|
| public static byte[] readRLEBytes(InputStream s, int maxAllowed) throws IOException | |
| readRLEBytes | back to summary |
|---|---|
| public static Map. | |
| readRLEBytes | back to summary |
|---|---|
| public static Map. Decodes a run-length encoded byte array
| |
| writeRLEBytes | back to summary |
|---|---|
| public static int writeRLEBytes(OutputStream s, byte... bytes) throws IOException | |
| writeRLEBytes | back to summary |
|---|---|
| public static int writeRLEBytes(OutputStream s, byte[] bytes, int off, int len) throws IOException | |