Class RSAMultiPrimePrivateCrtKeySpecSerializer

  • All Implemented Interfaces:
    KeySpecSerializer<java.security.interfaces.RSAMultiPrimePrivateCrtKey,​java.security.interfaces.RSAPublicKey>

    public class RSAMultiPrimePrivateCrtKeySpecSerializer
    extends java.lang.Object
    implements KeySpecSerializer<java.security.interfaces.RSAMultiPrimePrivateCrtKey,​java.security.interfaces.RSAPublicKey>
    • Constructor Detail

      • RSAMultiPrimePrivateCrtKeySpecSerializer

        public RSAMultiPrimePrivateCrtKeySpecSerializer()
    • Method Detail

      • serializePrivateKey

        public YAPIONObject serializePrivateKey​(java.security.interfaces.RSAMultiPrimePrivateCrtKey rsaMultiPrimePrivateCrtKey)
                                         throws java.security.GeneralSecurityException
        Specified by:
        serializePrivateKey in interface KeySpecSerializer<java.security.interfaces.RSAMultiPrimePrivateCrtKey,​java.security.interfaces.RSAPublicKey>
        Throws:
        java.security.GeneralSecurityException
      • deserializePrivateKey

        public java.security.interfaces.RSAMultiPrimePrivateCrtKey deserializePrivateKey​(YAPIONObject yapionObject,
                                                                                         java.lang.String algorithm)
                                                                                  throws java.security.GeneralSecurityException
        Specified by:
        deserializePrivateKey in interface KeySpecSerializer<java.security.interfaces.RSAMultiPrimePrivateCrtKey,​java.security.interfaces.RSAPublicKey>
        Throws:
        java.security.GeneralSecurityException
      • serializePublicKey

        public YAPIONObject serializePublicKey​(java.security.interfaces.RSAPublicKey rsaPublicKey)
                                        throws java.security.GeneralSecurityException
        Specified by:
        serializePublicKey in interface KeySpecSerializer<java.security.interfaces.RSAMultiPrimePrivateCrtKey,​java.security.interfaces.RSAPublicKey>
        Throws:
        java.security.GeneralSecurityException
      • deserializePublicKey

        public java.security.interfaces.RSAPublicKey deserializePublicKey​(YAPIONObject yapionObject,
                                                                          java.lang.String algorithm)
                                                                   throws java.security.GeneralSecurityException
        Specified by:
        deserializePublicKey in interface KeySpecSerializer<java.security.interfaces.RSAMultiPrimePrivateCrtKey,​java.security.interfaces.RSAPublicKey>
        Throws:
        java.security.GeneralSecurityException