Class KeyUsageBC

    • Field Detail

      • INSTANCE

        private static final KeyUsageBC INSTANCE
    • Constructor Detail

      • KeyUsageBC

        public KeyUsageBC​(org.bouncycastle.asn1.x509.KeyUsage keyUsage)
        Creates new wrapper instance for KeyUsage.
        Parameters:
        keyUsage - KeyUsage to be wrapped
    • Method Detail

      • getInstance

        public static KeyUsageBC getInstance()
        Gets wrapper instance.
        Returns:
        KeyUsageBC instance.
      • getKeyUsage

        public org.bouncycastle.asn1.x509.KeyUsage getKeyUsage()
        Gets actual org.bouncycastle object being wrapped.
        Returns:
        wrapped KeyUsage.
      • getDigitalSignature

        public int getDigitalSignature()
        Gets digitalSignature constant for the wrapped KeyUsage.
        Specified by:
        getDigitalSignature in interface IKeyUsage
        Returns:
        KeyUsage.digitalSignature value.
      • getNonRepudiation

        public int getNonRepudiation()
        Gets nonRepudiation constant for the wrapped KeyUsage.
        Specified by:
        getNonRepudiation in interface IKeyUsage
        Returns:
        KeyUsage.nonRepudiation value.