Interface KeySpecSerializer<PR extends java.security.PrivateKey,​PU extends java.security.PublicKey>

    • Method Detail

      • serializePrivateKey

        YAPIONObject serializePrivateKey​(PR pr)
                                  throws java.security.GeneralSecurityException
        Throws:
        java.security.GeneralSecurityException
      • deserializePrivateKey

        PR deserializePrivateKey​(YAPIONObject yapionObject,
                                 java.lang.String algorithm)
                          throws java.security.GeneralSecurityException
        Throws:
        java.security.GeneralSecurityException
      • serializePublicKey

        YAPIONObject serializePublicKey​(PU pu)
                                 throws java.security.GeneralSecurityException
        Throws:
        java.security.GeneralSecurityException
      • deserializePublicKey

        PU deserializePublicKey​(YAPIONObject yapionObject,
                                java.lang.String algorithm)
                         throws java.security.GeneralSecurityException
        Throws:
        java.security.GeneralSecurityException