Lines Matching defs:Entity
31 type Entity struct { struct
32 PrivateKey *ecdsa.PrivateKey
33 Template *x509.Certificate
35 LastSerial *big.Int
80 func (e *Entity) publicKey() *ecdsa.PublicKey {
84 func (e *Entity) name() string {
88 func (e *Entity) nextSerial() *big.Int {
96 func (ca *Entity) doSign(childTemplate *x509.Certificate, pubKey *ecdsa.PublicKey) []byte {
111 func (ca *Entity) Sign(child *Entity) []byte {
115 func (ca *Entity) SignWithAlgorithm(child *Entity, algorithm x509.SignatureAlgorithm) []byte {
121 func (ca *Entity) SignToPEM(child *Entity, filename string) {
126 …Entity) SignWithAlgorithmToPEM(child *Entity, algorithm x509.SignatureAlgorithm, filename string) {