Class SVNPasswordCipher

  • Direct Known Subclasses:
    SVNWinCryptPasswordCipher

    public abstract class SVNPasswordCipher
    extends java.lang.Object
    Version:
    1.0
    Author:
    TMate Software Ltd.
    • Field Detail

      • SIMPLE_CIPHER_TYPE

        public static final java.lang.String SIMPLE_CIPHER_TYPE
        See Also:
        Constant Field Values
      • WINCRYPT_CIPHER_TYPE

        public static final java.lang.String WINCRYPT_CIPHER_TYPE
        See Also:
        Constant Field Values
    • Constructor Detail

      • SVNPasswordCipher

        protected SVNPasswordCipher()
    • Method Detail

      • getInstance

        public static SVNPasswordCipher getInstance​(java.lang.String type)
      • hasCipher

        public static boolean hasCipher​(java.lang.String type)
      • setDefaultCipherType

        public static void setDefaultCipherType​(java.lang.String type)
      • getDefaultCipherType

        public static java.lang.String getDefaultCipherType()
      • registerCipher

        public static void registerCipher​(java.lang.String type,
                                          SVNPasswordCipher cipher)
      • encrypt

        public abstract char[] encrypt​(char[] rawData)
      • decrypt

        public abstract char[] decrypt​(char[] encyrptedData)
      • getCipherType

        public abstract java.lang.String getCipherType()