byte[] subjectPublicKeyBytes = writeTLV(BIT_STRING_TAG, subjectPublicKey);
byte[] subjectPublicKeyInfo = writeTLV(SEQUENCE_TAG, ByteArrayUtils.concatenate(algorithmIdentifierBytes, subjectPublicKeyBytes));
writer.writeBytes(subjectPublicKeyInfo);
return writer.toByteArray();
}
public static RawPublicKey fromByteArray(byte[] byteArray) {
RawPublicKey rawPublicKey = new RawPublicKey();