Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ParsePKCS1PublicKey (0.43 sec)

  1. api/go1.10.txt

    pkg crypto/x509, const UnconstrainedName InvalidReason
    pkg crypto/x509, func MarshalPKCS1PublicKey(*rsa.PublicKey) []uint8
    pkg crypto/x509, func MarshalPKCS8PrivateKey(interface{}) ([]uint8, error)
    pkg crypto/x509, func ParsePKCS1PublicKey([]uint8) (*rsa.PublicKey, error)
    pkg crypto/x509, method (PublicKeyAlgorithm) String() string
    pkg crypto/x509, type Certificate struct, ExcludedEmailAddresses []string
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 06 05:00:01 GMT 2018
    - 30.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    		}
    		return out
    	}
    }
    
    func bytesToPublicKey(pub []byte) (*rsa.PublicKey, error) {
    	block, _ := pem.Decode(pub)
    	if block != nil {
    		pub = block.Bytes
    	}
    	key, err := x509.ParsePKCS1PublicKey(pub)
    	if err != nil {
    		return nil, err
    	}
    	return key, nil
    }
    
    // getRawDataer provides an interface for getting raw FS files.
    type getRawDataer interface {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top