forked from AthenZ/athenz
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support fetching cert bundles from ZTS (AthenZ#843)
- Loading branch information
1 parent
78df1ee
commit b92bd87
Showing
39 changed files
with
1,475 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
core/zts/src/main/java/com/yahoo/athenz/zts/CertificateAuthorityBundle.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// | ||
// This file generated by rdl 1.5.2. Do not modify! | ||
// | ||
|
||
package com.yahoo.athenz.zts; | ||
import com.yahoo.rdl.*; | ||
|
||
// | ||
// CertificateAuthorityBundle - | ||
// | ||
public class CertificateAuthorityBundle { | ||
public String name; | ||
public String certs; | ||
|
||
public CertificateAuthorityBundle setName(String name) { | ||
this.name = name; | ||
return this; | ||
} | ||
public String getName() { | ||
return name; | ||
} | ||
public CertificateAuthorityBundle setCerts(String certs) { | ||
this.certs = certs; | ||
return this; | ||
} | ||
public String getCerts() { | ||
return certs; | ||
} | ||
|
||
@Override | ||
public boolean equals(Object another) { | ||
if (this != another) { | ||
if (another == null || another.getClass() != CertificateAuthorityBundle.class) { | ||
return false; | ||
} | ||
CertificateAuthorityBundle a = (CertificateAuthorityBundle) another; | ||
if (name == null ? a.name != null : !name.equals(a.name)) { | ||
return false; | ||
} | ||
if (certs == null ? a.certs != null : !certs.equals(a.certs)) { | ||
return false; | ||
} | ||
} | ||
return true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.