Class SVNPasswordCipher

    • 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
      • ourInstances

        private static java.util.Map ourInstances
      • ourDefaultType

        private static java.lang.String ourDefaultType
    • 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()