Class KeyUtil


  • public class KeyUtil
    extends java.lang.Object
    • Constructor Detail

      • KeyUtil

        public KeyUtil()
    • Method Detail

      • getEncodedSubjectPublicKeyInfo

        public static byte[] getEncodedSubjectPublicKeyInfo​(AlgorithmIdentifier algId,
                                                            byte[] keyData)
      • getEncodedSubjectPublicKeyInfo

        public static byte[] getEncodedSubjectPublicKeyInfo​(SubjectPublicKeyInfo info)
      • getEncodedPrivateKeyInfo

        public static byte[] getEncodedPrivateKeyInfo​(PrivateKeyInfo info)